import * as React from "react";
import * as ReactDOM from "react-dom";
import * as $ from "jquery";
import * as GoldenLayout from "golden-layout";
import "../node_modules/antd/dist/antd.css";  // or antd/dist/antd.less
// 
(window as any).React = React;
(window as any).ReactDOM = ReactDOM;
(window as any).$ = $;
//
import * as mvc from "common/mvc";
//
import Initial from "dragonBones/controller/initial";
import * as dbtps from "dragonBones/types";

// 初始化。
mvc.controller.register(dbtps.CNotificationType.Initial, Initial);
mvc.context.sendNotification(dbtps.CNotificationType.Initial, null);